Pronamic\WordPress\Money\Money S

Total Complexity 30
Dependencies 3
Dependents 19
Total lines 348
Lines of code 127
Logical lines of code 52
Comment lines 174
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
format_i18n()
S
54 4 20
format()
S
62 2 12
format_i18n_non_trailing_zeros()
S
68 2 7
number_format()
S
70 2 6
number_format_i18n()
S
71 2 6
set_currency()
S
71 2 6
__construct()
S
77 1 4
add()
S
75 1 4
negative()
S
73 1 6
absolute()
S
73 1 6
divide()
S
72 1 5
multiply()
S
72 1 5
subtract()
S
75 1 4
get_currency()
S
82 1 3
jsonSerialize()
S
71 1 6
__toString()
S
70 1 7
get_default_format()
S
72 1 5
set_value()
S
79 1 3
get_minor_units()
S
78 1 3
get_number()
S
82 1 3
get_value()
S
81 1 3
is_zero()
S
81 1 3